//
//  DataBaseManager.h
//  Shangri-La
//
//  Created by mac2 on 15-6-3.
//  Copyright (c) 2015年 huogenghao. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <sqlite3.h>
#import "FMDatabase.h"
#import "FMDatabaseQueue.h"

@interface DataBaseManager : NSObject

@property(nonatomic,strong)FMDatabaseQueue* GeebooQueue;
@property(nonatomic,strong)FMDatabase* GeebooDB;

//数据库单例方法
+(id)shareInstance;

//数据库查询方法
- (NSMutableArray *)dataBaseExecuteQuery:(NSString *)sql;
//数据库更新，插入，删除方法
- (BOOL)dataBaseExecuteUpdate:(NSString *)sql;

@end
